import request from '@/utils/request'

// 前期测绘基本信息
export function getSurveyData(projectId) {
  return request({
    url: '/renovation/prophaseSurvey/surveyData/detail',
    method: 'post',
    formData: {projectId: projectId}
  })
}
// 获取历史数据
export function getDataAdvice(projectId) {

  return request({
    url: '/renovation/prophaseSurvey/dataAdvice/dist/detail',
    method: 'post',
    formData: {projectId: projectId}
  })
}
// 保存前期测绘初审意见
export function saveDataAdvice(data) {
  return request({
    url: '/renovation/prophaseSurvey/dataAdvice/dist/save',
    method: 'post',
    json: data
  })
}

